package com.example.tvwanandroid.app

import android.app.Application
import android.content.Context
import kotlin.properties.Delegates

/**
 * @作者: njb
 * @时间: 2020/12/8 15:20
 * @描述:
 */
class App :Application() {

    override fun onCreate() {
        super.onCreate()
        context = applicationContext
    }

    companion object {
        var context: Context by Delegates.notNull()
            private set
    }
}